<script lang="ts" setup>
import LoginForm from './components/LoginForm.vue'
</script>

<template>
  <div class="login-container">
    <div class="login-box">
      <div class="login-header">
        <h2>登录</h2>
      </div>
      <div class="login-content">
        <LoginForm />
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f2f5;
  background-image: url('');
  background-size: cover;
}

.login-box {
  width: 400px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
  h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
  }
}

.login-content {
  min-height: 280px;
}
</style>
